package com.example.musicplayer.dto;

import java.io.Serializable;

public class Song implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -8405833330237737817L;
	String songName;
	String songArtist;
	String songPath;
	String songAlbum;
	Long albumID;
	public Long getAlbumID() {
		return albumID;
	}
	public void setAlbumID(Long albumID) {
		this.albumID = albumID;
	}

	private String songDuration;
	//always increment this value if a song is played to COMPLETITION
	private int playCount;
	
	public String getSongName() {
		return songName;
	}
	public void setSongName(String songName) {
		this.songName = songName;
	}
	public String getSongArtist() {
		return songArtist;
	}
	public void setSongArtist(String songArtist) {
		this.songArtist = songArtist;
	}
	public String getSongPath() {
		return songPath;
	}
	public void setSongPath(String songPath) {
		this.songPath = songPath;
	}
	public String getSongAlbum() {
		return songAlbum;
	}
	public void setSongAlbum(String songAlbum) {
		this.songAlbum = songAlbum;
	}
	public String getSongDuration() {
		return songDuration;
	}
	public void setSongDuration(String songDuration) {
		this.songDuration = songDuration;
	}
	public int getPlayCount() {
		return playCount;
	}
	//always increment this value if a song is played to COMPLETITION
	public void setPlayCount(int playCount) {
		this.playCount = playCount;
	}
   
   @Override
   public String toString() {
   return songName + " -" + "\n" + songArtist;  
        }
}
